package com.powernode.service;

import com.powernode.domain.Basket;
import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.vo.CartTotalAmount;
import com.powernode.vo.CartVo;

import java.util.List;

public interface BasketService extends IService<Basket>{


    Integer loadCartCount();

    CartVo selectUserBasketInfo(String userId);

    CartTotalAmount selectUserCartTotalAmount(String userId, List<Long> basketIds);

    void addAndModifyBasketProdCount(Basket basket);
}
